package com.cy.stone.system.infrastructure.database.table;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
 * Auto generate by mybatis-flex, do not modify it.
 * 登入登出记录表 实体类。
 * @author Wings
 * @since 2023-12-10
 */
public class LoginRecordEntityTableDef extends TableDef {

    public static final LoginRecordEntityTableDef LOGIN_RECORD_ENTITY = new LoginRecordEntityTableDef();

    /**
     * 主键
     */
    public final QueryColumn ID = new QueryColumn(this, "id");

    /**
     * IP
     */
    public final QueryColumn IP = new QueryColumn(this, "IP");

    /**
     * 设备
     */
    public final QueryColumn DEVICE = new QueryColumn(this, "DEVICE");

    /**
     * 备注
     */
    public final QueryColumn REMARK = new QueryColumn(this, "REMARK");

    /**
     * 状态
     */
    public final QueryColumn STATUS = new QueryColumn(this, "STATUS");

    /**
     * 浏览器品牌
     */
    public final QueryColumn BROWSER = new QueryColumn(this, "BROWSER");

    /**
     * 版本号
     */
    public final QueryColumn VERSION = new QueryColumn(this, "VERSION");

    /**
     * 创建人
     */
    public final QueryColumn CREATE_BY = new QueryColumn(this, "CREATE_BY");

    /**
     * 更新人
     */
    public final QueryColumn UPDATE_BY = new QueryColumn(this, "UPDATE_BY");

    /**
     * 用户名
     */
    public final QueryColumn USER_NAME = new QueryColumn(this, "USER_NAME");

    /**
     * 逻辑删除标识【0-未删除 1-已删除】
     */
    public final QueryColumn IS_DELETED = new QueryColumn(this, "IS_DELETED");

    /**
     * 登入登出类型【1-登入 2-登出 3-被踢下线 4-被顶下线】
     */
    public final QueryColumn LOGIN_TYPE = new QueryColumn(this, "LOGIN_TYPE");

    /**
     * 创建时间
     */
    public final QueryColumn CREATE_TIME = new QueryColumn(this, "CREATE_TIME");

    /**
     * 更新时间
     */
    public final QueryColumn UPDATE_TIME = new QueryColumn(this, "UPDATE_TIME");

    /**
     * 浏览器版本号
     */
    public final QueryColumn BROWSER_VERSION = new QueryColumn(this, "BROWSER_VERSION");

    /**
     * 所有字段。
     */
    public final QueryColumn ALL_COLUMNS = new QueryColumn(this, "*");

    /**
     * 默认字段，不包含逻辑删除或者 large 等字段。
     */
    public final QueryColumn[] DEFAULT_COLUMNS = new QueryColumn[]{ID, IP, DEVICE, REMARK, STATUS, BROWSER, VERSION, CREATE_BY, UPDATE_BY, USER_NAME, LOGIN_TYPE, CREATE_TIME, UPDATE_TIME, BROWSER_VERSION};

    public LoginRecordEntityTableDef() {
        super("", "ST_LOGIN_RECORD");
    }

}
